package SpellCheck;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class IndexPreprator {

	
	public void prePareMainIndex(List<String> inputList)
	{
		generateIndexingObjects();
	}
	
	/**
	 * This would generate the main index of a-z characters and intialize a Map
	 */
	private void generateIndexingObjects()
	{
		Map<String,String> mainIndex = new HashMap<String,String>();
		int i = 0;
		String[] arrofMainIndex =Constants.aTozChars; 
		while( i< 26)
		{
			System.out.println("PrepMainindex"+mainIndex.size());
			mainIndex.put(arrofMainIndex[i], null);
			i++;
		}
	}
	
	/**
	 * This would gen sencond level index like aa , ab , ac ,ad etc all in all
	 * a total of 26 new objects with each having 26 obects would be created 
	 */
	private void generateSecondLevelIndex()
	{
		
	}
	
}
